﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Extentions;

namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 员工店铺关系
    /// </summary>
    [ExLanguageKey("SysEmployeeStoreRelation")]
    public partial class SysEmployeeStoreRelationExList
    {
        /// <summary>
        /// ID
        /// </summary>
        [ExLanguageKey("ID")]
        [Key]
        public int ID { get; set; }

        /// <summary>
        /// 员工ID
        /// </summary>
        [ExLanguageKey("SysEmployeeID")]
        public int SysEmployeeID { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        [ExLanguageKey("SysStoreID")]
        public int SysStoreID { get; set; }

        /// <summary>
        /// 创建员工ID
        /// </summary>
        [ExLanguageKey("CreateSysEmployeeID")]
        public int? CreateSysEmployeeID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExLanguageKey("CreateDate")]
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [ExLanguageKey("Remark")]
        public string Remark { get; set; }

        /// <summary>
        /// 员工
        /// </summary>
        [ExNoModify]
        [ExLanguageKey("SysEmployee")]
        public SysEmployeeExPart SysEmployee { get; set; }

        /// <summary>
        /// 店铺;店铺的数据,有Filter的
        /// </summary>
        [ExNoModify]
        [ExLanguageKey("SysStore")]
        public SysStoreExPart SysStore { get; set; }
    }
}
